let arr=fn().split('\n').map(function(k){
    return k.split(",")
    })
    arr.forEach(function(k,i){
    $(".items").append(`
    <li>
    <img src='${k[2]}'/>
    <h2 class=''>${k[0]}</h2 >
    <p class='price'>$${k[1]}</p >
    <div class='items_bottom'>
    <button class="sell">Sell</button>
    <input text="0" class="number" placeholder="0">
    <button class="buy">Buy</button>
    </div>
    
    </li>`)
    
     })

     window.onscroll=function(){
         if(document.body.scrollTop>=360||document.documentElement.scrollTop>=360){
         document.getElementsByClassName("money")[0].style.position="fixed";
         document.getElementsByClassName("money")[0].style.top=0;

         }
        else{document.getElementsByClassName("money")[0].style.position="static";
             document.getElementsByClassName("money")[0].style.width="1000px"
        }
        }
    